package com.letoken.platform.repo.ecommerce.dto;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class FinishDto {

    // 订单ID
    private Integer id;

    // 商户ID
    private Integer userId;
    private Integer toUserId;

    private BigDecimal amount;

    private BigDecimal receiveAmount;

    private Integer payType;

//    // 商户账户ID
//    private Integer accountId;
//    // 用户钱包ID
//    private Integer walletId;


    public FinishDto(Integer id , Integer userId,Integer toUserId,BigDecimal amount,BigDecimal receiveAmount,Integer payType) {
        this.id = id ;
        this.userId = userId;
        this.toUserId = toUserId;
        this.amount = amount;
        this.receiveAmount = receiveAmount;
        this.payType = payType;
    }
}
